class Test:
    def test1(self, name):
        print('this test1 name is {}'.format(name))

def test2(name):
    print('this test2 name is {}'.format(name))





if __name__ == '__main__':
    s = Test()
    s.test1('wan')
    test2('wim')